package CommonPanel;

import java.awt.*;

import javax.swing.*;

public class TitlePanel extends JPanel
{
	private JLabel labelProf, labelBackground;
	
	public TitlePanel()
	{
		setLayout(null);
		setBackground(Color.DARK_GRAY);
		
		this.setPreferredSize(new Dimension(590, 220));
		
		labelProf = new JLabel();
		labelProf.setBounds(30, 10, 155, 197);
		labelProf.setIcon(new ImageIcon("image/miniTeacher.png"));
		this.add(labelProf);
		
		labelBackground = new JLabel();
		labelBackground.setBounds(5, 0, 590, 220);
		labelBackground.setIcon(new ImageIcon("image/Bg-Header.jpg"));		// image/identity.png
		this.add(labelBackground);
	}
}